package com.iplant.mes.service;

import com.iplant.ams.service.po.dms.DMSDeviceLedger;
import com.iplant.ams.service.po.dms.scada.conf.DMSDeviceParameter;
import com.iplant.ams.service.po.dms.scada.record.DMSProcessRecord;
import com.iplant.base.po.ServiceResult;
import com.iplant.basic.service.po.bms.BMSEmployee;

import java.util.List;

public interface MESService {

    //region 作业
    ServiceResult<Integer> SFC_AutoCloseTaskSelfList(BMSEmployee sysAdmin);

    ServiceResult<Integer> MES_ProcessToSelf(BMSEmployee wLoginUser, DMSDeviceLedger dmsDeviceLedger,
                                             List<DMSProcessRecord> wProcessRecordList
            , List<DMSDeviceParameter> wDMSDeviceParameterList);

    ServiceResult<Integer> MES_AutoProcessToSelf(BMSEmployee wLoginUser);

    ServiceResult<Integer> MES_AutoUpdateHisActNum(BMSEmployee sysAdmin);
    //endregion
}
